package br.com.pes.controller;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("partidas")
public class PesController {
	
	@RequestMapping(value = "/{nome}", method = RequestMethod.GET)
	public String getPartidas(@PathVariable String nome, Map<String, Object> map) {
		map.put("nome", nome);
		
		return "partidas"; 
	}
}
